export let initialState = {
  html: { title: '旅游' },
  header: {
    title: '代课下单'
  },
  API: {
    GetAggregateTrace: '/10124/GetAggregateTrace.json',
  },
  // 最近浏览
  browseHistory: [],
}

export function UPDATE_BROWSE_HISTORY(state, payload = {}) {
  let { browseHistory } = payload
  return {
    ...state,
    browseHistory,
  }
}